package org.jeecg.modules.minqing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 招商工作动态
 * @Author: jeecg-boot
 * @Date: 2020-01-08
 * @Version: V1.0
 */
@Data
@TableName("mq_dynamic_news")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "mq_dynamic_news对象", description = "招商工作动态")
public class DynamicNews {

    /**
     * 主键ID
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
    /**
     * 标题
     */
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private java.lang.String title;
    /**
     * 内容
     */
    @Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private java.lang.String content;
    /**
     * 排序
     */
    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.String sort;
    /**
     * 状态（0、null关闭,1开启）
     */
    @Excel(name = "状态（0、null关闭,1开启）", width = 15)
    @ApiModelProperty(value = "状态（0、null关闭,1开启）")
    private java.lang.Integer status;

    /**
     * 点赞次数
     */
    @Excel(name = "点赞次数", width = 15)
    @ApiModelProperty(value = "点赞次数")
    private java.lang.String praise;

    /**
     * 阅读次数
     */
    @Excel(name = "阅读次数", width = 15)
    @ApiModelProperty(value = "阅读次数")
    private java.lang.String readTime;

    /**
     * 展示图片
     */
    @Excel(name = "展示图片", width = 15)
    @ApiModelProperty(value = "展示图片")
    private java.lang.String pic;
    /**
     * 创建人
     */
    private java.lang.String createBy;
    /**
     * 创建时间
     */
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date createTime;
    /**
     * 修改人
     */
    private java.lang.String updateBy;
    /**
     * 修改时间
     */
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date updateTime;

    @TableField(exist = false)
    private java.lang.String type;

    @TableField(exist = false)
    private java.lang.String imei;
}
